<?php
namespace app\index\model;

use think\Model;

class rm extends Model{
    public function List($status){
        $data= $this->alias('rm')
                    ->join('menu m','rm.m_Id = m.Id')
                    ->where('rm.status',$status)
                    ->select();
        return $data;
        // echo $this->getLastSql();
    }
}
?>